﻿using JinianNet.JNTemplate;
namespace Lmg.WebApi
{
    public static class LogoExtension
    {
        public static void AddLogo(this IServiceCollection services)
        {
            Console.ForegroundColor = ConsoleColor.Blue;
            var contentTpl = JnHelper.ReadTemplate("", "logo.txt");
            var content = contentTpl?.Render();
            
            Console.WriteLine(content);
            Console.ForegroundColor = ConsoleColor.Blue;
            Console.WriteLine("🎉源码地址: https://gitee.com/luomingui/lmg");
            Console.WriteLine("📖官方文档：https://gitee.com/luomingui/lmg/doc");
            Console.WriteLine("💰打赏作者：https://gitee.com/luomingui/lmg/doc/support.html");
        }
    }
}
